/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ufps.cuatro.util.wizard;

import java.util.HashMap;

/**
 *
 * @author Carlos A. Torres C. 
 */
public class ObjectTempSwapWizard {   
    
    public final static String MODO_REPRESENTACION = "0.0";        
    public final static String ORIENTACION_DISTRIBUCION = "0.1";        
    public final static String INCLUIR_BIBLIOTECA_GLOBAL = "0.2";        
    public final static String COLECCION = "0.3";        
    public final static String CONTENEDOR_REPRESENTACION = "0.4";        
    private HashMap<String, Object> objSwap;
    private Object obj;
    private Object objTemp;
    
    private int modo;
    private boolean entrada = true;

    public ObjectTempSwapWizard(int modo) {
        this.modo = modo;
        this.objSwap = new HashMap<String, Object>();
    }
    
    public Object add(String key, Object value){
        return this.objSwap.put(key, value);
    }
    
    public Object get(String key){
        return this.objSwap.get(key);
    }

    public int getModo() {
        return modo;
    }

    public HashMap<String, Object> getObjSwap() {
        return objSwap;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public Object getObjTemp() {
        return objTemp;
    }

    public void setObjTemp(Object objTemp) {
        this.objTemp = objTemp;
    }

    public boolean isEntrada() {
        return entrada;
    }

    public void setEntrada(boolean entrada) {
        this.entrada = entrada;
    }
    
    
}
